package com.lzw.breezeNovel.webApp.service.novel;

import com.lzw.breezeNovel.model.entity.pojo.novel.BookRanking;
import com.lzw.breezeNovel.model.entity.query.PaginationResultQuery;
import com.lzw.breezeNovel.webApp.vo.novel.BookVo;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.webApp.service
 * @date 2025/3/3
 * @description 小说排行榜
 */
@SuppressWarnings("all")
public interface BookRankingService {

    /**
     * 获取小说排行榜
     * @return
     */
    List<BookVo> getRanking();

    /**
     * 根据排行类型查询分页查询数据
     * @param bookRanking
     * @return
     */
    PaginationResultQuery<BookVo> getRankingByPage(BookRanking bookRanking);
}
